﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BTKERP.Model.Inventory
{
    #region ProductRecipeUnitInfo
    /// <summary>
    /// This object represents the properties and methods of a ProductRecipeUnit.
    /// </summary>
    [Serializable]
    public class ProductRecipeUnitInfo
    {
        protected string _id;
        protected int _unitId;
        protected decimal _numberPerPackUnit;
        protected decimal _shrinkage;
        protected DateTime _createdOn;
        protected string _createdBy = String.Empty;
        protected DateTime _updatedOn;
        protected string _updatedBy = String.Empty;

        public ProductRecipeUnitInfo()
        {
        }

        #region Public Properties
        public string Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public int UnitId
        {
            get { return _unitId; }
            set { _unitId = value; }
        }

        public decimal NumberPerPackUnit
        {
            get { return _numberPerPackUnit; }
            set { _numberPerPackUnit = value; }
        }

        public decimal Shrinkage
        {
            get { return _shrinkage; }
            set { _shrinkage = value; }
        }

        public DateTime CreatedOn
        {
            get { return _createdOn; }
            set { _createdOn = value; }
        }

        public string CreatedBy
        {
            get { return _createdBy; }
            set { _createdBy = value; }
        }

        public DateTime UpdatedOn
        {
            get { return _updatedOn; }
            set { _updatedOn = value; }
        }

        public string UpdatedBy
        {
            get { return _updatedBy; }
            set { _updatedBy = value; }
        }
        #endregion

    }
    #endregion

}
